package com.aaa.fees.service.ipml;


import com.aaa.entity.ChargeItem;
import com.aaa.fees.dao.ChargeItemDao;
import com.aaa.fees.service.ChargeItemService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChargeItemServiceImpl implements ChargeItemService {
    @Autowired
    ChargeItemDao chargeItemDao;

    @Override
    public List<ChargeItem> getOrderId(String orderId) {
        QueryWrapper<ChargeItem> wrapper = new QueryWrapper<>();
        wrapper.eq("order_id" ,orderId);
        return chargeItemDao.selectList(wrapper);
    }


}
